import httpUtil from "@/utils/httpUtil";

const addLog = (text) => {
	if (text instanceof Object || text instanceof Array) {
		text = JSON.stringify(text)
	}
	let params = {
		v1: 1,
		v2: 4,
		text
	}
	httpUtil.postReturnSource('/api/rf/addLog', params)
}


export default {
	addLog
}